<!--<?php
# MetInfo Enterprise Content Management System 
# Copyright (C) MetInfo Co.,Ltd (http://www.metinfo.cn). All rights reserved. ed.
require_once template('head');
echo <<<EOT
-->
<title>{$lang_setskinUISet}</title>
</head>
<script language="javascript" type="text/javascript">
function viewpage(imgid){
document.getElementById('pageimg').src="../../public/images/page/page"+imgid+".png";
}
</script>
<body>

<form method="POST" name="myform" action="" target="_self">
		<input name="action" type="hidden" value="modify">
<table cellpadding="2" cellspacing="1" border="0" width="95%" class="table_list1"> 
   <tr> 
            <td colspan="3" align="center" class="list1_title">{$lang_setskinUISet}</td>
          </tr>
		   <tr> 
            <td class="list1_text"><font color="#FF0000">*</font>{$lang_setskinTemplate}</td>
            <td class="list1_input">
			<select name="met_skin_user" onChange="changecss(document.myform.met_skin_user.options[document.myform.met_skin_user.selectedIndex].value)">
<!--
EOT;
foreach($skin_list as $key=>$val){
$select_ok="";
if($met_skin_user==$val[skin_file]){$select_ok="selected";}
echo <<<EOT
-->
<option value="$val[skin_file]" $select_ok >$val[skin_name]</option>		
<!--
EOT;
}
echo <<<EOT
-->      
</select>	
		<select name="met_skin_css">
<!--
EOT;
for($i=0; $i<count($cssnumnow);$i++){
$select_ok="";
if($met_skin_css==$cssnumnow[$i][1]){$select_ok="selected";}
echo <<<EOT
-->
		<option value="{$cssnumnow[$i][1]}" $select_ok  >{$cssnumnow[$i][0]}</option>
<!--
EOT;
}
echo <<<EOT
-->		
		</select>	
					<span><a href="skin_manager.php?lang=$lang" class="title_add">{$lang_setskinAdd}</a></span></td>
          </tr> 
		  
          <tr> 
            <td class="list1_text"><font color="#FF0000">*</font>{$lang_mod3}{$lang_setskinListPage}</td>
            <td class="list1_input">{$lang_setskinNumOfPage}&nbsp;<input name="met_product_list" type="text" class="input" size="3" maxlength="20" value="$met_product_list">{$lang_item}</td>
          </tr> 
		  <tr> 
            <td class="list1_text"><font color="#FF0000">*</font>{$lang_mod2}{$lang_setskinListPage}</td>
            <td class="list1_input"> {$lang_setskinNumOfPage}&nbsp;<input name="met_news_list" type="text" class="input" size="3" maxlength="20" value="$met_news_list">{$lang_item}</td>
          </tr>
		  <tr> 
            <td class="list1_text"><font color="#FF0000">*</font>{$lang_mod4}{$lang_setskinListPage}</td>
            <td class="list1_input"> {$lang_setskinNumOfPage}&nbsp;<input name="met_download_list" type="text" class="input" size="3" maxlength="20" value="$met_download_list">{$lang_item}</td>
          </tr>
		  <tr> 
            <td class="list1_text"><font color="#FF0000">*</font>{$lang_mod5}{$lang_setskinListPage}</td>
            <td class="list1_input"> {$lang_setskinNumOfPage}&nbsp;<input name="met_img_list" type="text" class="input" size="3" maxlength="20" value="$met_img_list">{$lang_item}</td>
          </tr>
		  <tr> 
            <td class="list1_text"><font color="#FF0000">*</font>{$lang_mod6}{$lang_setskinListPage}</td>
            <td class="list1_input"> {$lang_setskinNumOfPage}&nbsp;<input name="met_job_list" type="text" class="input" size="3" maxlength="20" value="$met_job_list">{$lang_item}</td>
          </tr>
		  	<tr> 
            <td class="list1_text"><font color="#FF0000">*</font>{$lang_mod7}{$lang_setskinListPage}</td>
            <td class="list1_input"> {$lang_setskinNumOfPage}&nbsp;<input name="met_message_list" type="text" class="input" size="3" maxlength="20" value="$met_message_list">{$lang_item}</td>
          </tr>
		  <tr> 
            <td class="list1_text"><font color="#FF0000">*</font>{$lang_mod11}{$lang_setskinListPage}</td>
            <td class="list1_input"> {$lang_setskinNumOfPage}&nbsp;<input name="met_search_list" type="text" class="input" size="3" maxlength="20" value="$met_search_list">{$lang_item}</td>
          </tr>
		  	<tr> 
            <td class="list1_text"><font color="#FF0000">*</font>{$lang_setskinnews}</td>
            <td class="list1_input">{$lang_setskinnews1} <input name="met_newsdays" type="text" class="input" size="3" maxlength="20" value="$met_newsdays">{$lang_setskinnews2}<img src="../../templates/$met_skin_user/images/news.gif"> {$lang_setskinnews3}</td>
          </tr>
		  <tr> 
            <td class="list1_text"><font color="#FF0000">*</font>{$lang_setskinhot}</td>
            <td class="list1_input">{$lang_setskinhot1} <input name="met_hot" type="text" class="input" size="3" maxlength="20" value="$met_hot">{$lang_setskinhot2}<img src="../../templates/$met_skin_user/images/hot.gif"> {$lang_setskinhot3}</td>
          </tr>
		  	<tr> 
            <td class="list1_text"><font color="#FF0000">*</font>{$lang_setskindatelist}</td>
            <td class="list1_input">
			<select name="met_listtime">
<!--
EOT;
for($i=0;$i<9;$i++){
echo <<<EOT
-->
			<option value="{$met_timetype[$i][1]}" {$met_listtime1[$i]}>{$met_timetype[$i][2]}</option>
<!--
EOT;
}
echo <<<EOT
-->
			</select></td>
          </tr>
		  	<tr> 
            <td class="list1_text"><font color="#FF0000">*</font>{$lang_setskindatecontent}</td>
            <td class="list1_input">
			<select name="met_contenttime">
<!--
EOT;
for($i=0;$i<9;$i++){
echo <<<EOT
-->
			<option value="{$met_timetype[$i][1]}" {$met_contenttime1[$i]}>{$met_timetype[$i][2]}</option>
<!--
EOT;
}
echo <<<EOT
-->
			</select></td>
          </tr>
		  	<tr> 
            <td class="list1_text"><font color="#FF0000">*</font>{$lang_setskinpage}</td>
            <td class="list1_input">
			<select name="met_pageskin" onChange="viewpage(this.options[this.selectedIndex].value);">
<!--
EOT;
for($i=1;$i<10;$i++){
echo <<<EOT
-->
			<option value="$i" {$met_pageskin1[$i]}>{$lang_setskinpage}{$i}</option>
<!--
EOT;
}
echo <<<EOT
-->
			</select> <img id="pageimg" src="../../public/images/page/page{$met_pageskin}.png" border="0" style="margin:2px 0px 0px 10px;"></td>
          </tr>
		   <tr> 
            <td class="list1_text"><font color="#FF0000">*</font>{$lang_mod3}{$lang_setskinListPage}</td>
            <td class="list1_input"><input name="met_product_page" type="radio" value="0" $met_product_page1[0]>{$lang_setskinproduct1}&nbsp;<input name="met_product_page" type="radio" value="1" $met_product_page1[1]>{$lang_setskinproduct2}&nbsp;</td>
          </tr>
		  <tr> 
            <td class="list1_text"><font color="#FF0000">*</font>{$lang_mod5}{$lang_setskinListPage}</td>
            <td class="list1_input"><input name="met_img_page" type="radio" value="0" $met_img_page1[0]>{$lang_setskinproduct1}&nbsp;<input name="met_img_page" type="radio" value="1" $met_img_page1[1] >{$lang_setskinproduct2}&nbsp;</td>
          </tr>
		  <tr> 
            <td class="list1_text"><font color="#FF0000">*</font>{$lang_mod3}{$lang_setskinimgdetail}</td>
            <td class="list1_input">
			<select name="met_product_detail" onChange="viewproduct(this.options[this.selectedIndex].value);">
<!--
EOT;
for($i=1;$i<7;$i++){
echo <<<EOT
-->
			<option value="$i" {$met_product_detail1[$i]}>{$lang_setflashimgtext}{$i}</option>
<!--
EOT;
}
echo <<<EOT
-->
			</select>
			{$lang_setflashWidth}({$lang_setflashPixel})<input type="text" name="met_productdetail_x" value="$met_productdetail_x" size="3">&nbsp;{$lang_setflashHeight}({$lang_setflashPixel})<input name="met_productdetail_y" type="text" value="$met_productdetail_y" size="3">
			 </td>
          </tr>
		   <tr> 
            <td class="list1_text"><font color="#FF0000">*</font>{$lang_mod5}{$lang_setskinimgdetail}</td>
            <td class="list1_input">
			<select name="met_img_detail" onChange="viewimg(this.options[this.selectedIndex].value);">
<!--
EOT;
for($i=1;$i<7;$i++){
echo <<<EOT
-->
			<option value="$i" {$met_img_detail1[$i]}>{$lang_setflashimgtext}{$i}</option>
<!--
EOT;
}
echo <<<EOT
-->
			</select> {$lang_setflashWidth}({$lang_setflashPixel})<input type="text"  name="met_imgdetail_x" value="$met_imgdetail_x" size="3">&nbsp;{$lang_setflashHeight}({$lang_setflashPixel})<input type="text" name="met_imgdetail_y" value="$met_imgdetail_y" size="3"></td>
          </tr>
	      <tr> 
            <td class="list1_text"></td>
	      <td class="list1_submit"><input type="submit" name="Submit" value="{$lang_Submit}" class="tj" style="*padding-top:2px; *height:22px;"><input type="reset" name="Submit" value="{$lang_Reset}" class="tj" style="*padding-top:2px; *height:22px;"> </td>
          </tr>
        </form>
		<tr>
		  <td class="list1_footer" colspan="2" align="center">$foot</td>
	  </tr>
</table>
</body>
</html>
<!--
EOT;
# This program is an open source system, commercial use, please consciously to purchase commercial license.
# Copyright (C) MetInfo Co., Ltd. (http://www.metinfo.cn). All rights reserved..
?>-->